package ipebg.mzk.facade.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * @author H2601981 2015/10/10
 *
 */
@Entity
@Table(name = "MS_FUNCTION_ROLE")
public class MsAdminRoleAuthority  implements Serializable{
	private static final long serialVersionUID = -4345488450173052914L;
	@Id
	@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
	@GeneratedValue(generator = "hibernate-uuid")
	@Column(name = "TID")
	private String tId;
	@Column(name = "ROLEID")
	private String roleId;
	@Column(name = "FUNCTIONID")
	private String functionId;

	public MsAdminRoleAuthority(){}
	
	public MsAdminRoleAuthority(String roleId,String functionId){
		this.roleId=roleId;
		this.functionId=functionId;
	}
	
	public String gettId() {
		return tId;
	}

	public void settId(String tId) {
		this.tId = tId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getFunctionId() {
		return functionId;
	}

	public void setFunctionId(String functionId) {
		this.functionId = functionId;
	}

}
